<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<link href="css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
<link href="css/styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/bootstrap.js">
</script>
<script type="text/javascript" src="js/bootstrap.min.js">
</script>
<script type="text/javascript">
</script>
</head>

<body>
	<div class="header">
    	<div class="header-box">
        	<a href="#"><img src="img/logo.png"/></a>
            <div class="top-menu ">
           	  <ul class="menu-list">
                	<a href="">
                    	<li class="list-item">
                        	<i class="icon-search icon-white"></i>
                    		Tìm kiếm
                    	</li>
                    </a>
                   <a href="#">
                    	<li class="list-item">
                        	<i class=" icon-wrench icon-white"></i>
                    		Quản lý
                    	</li>
                    </a>
                    
                    	<li class="list-item">
                        	<i class="icon-list-alt icon-white"></i>
                    		Báo cáo/Thống kê
                           <div class="dropdown">
                              <!-- Link or button to toggle dropdown -->
                              <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
                                <li><a tabindex="-1" href="#">Action</a></li>
                                <li><a tabindex="-1" href="#">Another action</a></li>
                                <li><a tabindex="-1" href="#">Something else here</a></li>
                                <li class="divider"></li>
                                <li><a tabindex="-1" href="#">Separated link</a></li>
                              </ul>
                            </div>
                    	</li>
                    
                    
                </ul>
                <a href="#">
                    	<li style="float:right; margin-right:10px; color:#FFF; list-style:none">
                        	<i class="icon-cog icon-white"></i>
                    		Thoát
                    	</li>
                    </a>
          </div>
        </div>
     </div>
    <div class="page">
    	<div class="container-box">
            <!--Hai cột-->
            <div class="two-column">    	
                <div class="box-horizontal">
                	<label for="">Mã thiết bị</label>
                    <div class="input-box">
                    <input type="text" name="ma" style="width: 200px;" onkeypress="onlyNumber(event)" />
                    </div>
                </div>
                <div class="box-horizontal">
                	<label for="" >Trạng thái</label>
                    <div class="input-box">
                    <select name="tt" style="width: 200px;">
                    <option value=""></option>
                    <option value="0">Chưa thanh lý</option>
                    <option value="1">Đã thanh lý</option>
                </select>
                    </div>
                </div>
                 <div class="clearfix"></div>
            </div>
             <!--Một cột-->
        	<div class="one-column">    	
                <div class="box-horizontal">
                	<label for="">Đơn vị quản lý</label>
                    <div class="input-box">
                   		<?php
                            $don_vi = array('' => 'Tất cả các đơn vị quản lý');
                            foreach($list_don_vi as $item){
                                $don_vi[$item['id']] = $item['ten'];
                            }
                            echo form_dropdown("don_vi", $don_vi, null, 'style="width:200px"');
                        ?>
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>  
            <!--Hai cột-->
            <div class="two-column">    	
                <div class="box-horizontal">
                	<label for="">Tên thiết bị</label>
                    <div class="input-box">
        				<select name="ten" id="ten" style="width: 200px;">
                            <option value="" loai="first"></option>
                            <?php
                                foreach ($list_ten_thiet_bi as $item){
                                    echo '<option value="'.$item['id'].'" loai="'.$item['id_loai_thiet_bi'] 
                                    .'">' . $item['ten'] . '</option>';
                                }
                            ?>
                        </select>                   
                      </div>
                </div>
                <div class="box-horizontal">
                	<label for="" >Loại thiết bị</label>
                    <div class="input-box">
                    	<?php
                            $loai = array('' => '');
                            foreach ($list_loai_thiet_bi as $item){
                                $loai[$item['id']] = $item['ten'];
                            }
                            echo form_dropdown("loai_thiet_bi", $loai, null, 'style="width:200px" id="loai"');
                		?>
                    </div>
                </div>
                 <div class="clearfix"></div>
            </div>
            <!--Hai cột-->
            <div class="two-column">    	
                <div class="box-horizontal">
                	<label for="">Từ năm</label>
                    <div class="input-box">
						<select name="tu" id="tu" class="span1">
                            <option value=""></option>
                            <?php
                                $year = (int) date('Y');
                                for ($i = $year; $i > $year - 10; $i--){
                                    echo '<option value="' . $i . '">' . $i . '</option>';
                                }
                            ?>
                        </select>
                    </div>
                </div>
                <div class="box-horizontal">
                	<label for="" >Đến năm</label>
                    <div class="input-box">
                    	<select name="den" id="den">
                    <option value=""></option>
                    <?php
                        for ($i = $year; $i > $year - 10; $i--){
                            echo '<option value="' . $i . '">' . $i . '</option>';
                        }
                    ?>
                </select>
                    </div>
                </div>
                 <div class="clearfix"></div>
            </div>
            <!--Hai cột-->
            <div class="two-column">    	
                <div class="box-horizontal">
                	<label for="">Phòng</label>
                    <div class="input-box">
						<input type="text" name="phong" class="sea" />
                    </div>
                </div>
                <div class="box-horizontal">
                	<label for="" >Khu nhà</label>
                    <div class="input-box">
                    	<?php
                            $khu_nha = array('' => 'Tất cả các khu nhà');
                            foreach($list_khu_nha as $item){
                                $khu_nha[$item['id']] = $item['ten'];
                            }
                            echo form_dropdown("khu_nha", $khu_nha, null, 'style="width:200px"');
                        ?>
                    </div>
                </div>
                 <div class="clearfix"></div>
            </div>
             <!--Ba cột
			<div class="three-column">    	
                <div class="box-horizontal">
                	<label for="">Cột 1</label>
                    <div class="input-box">
                    <select>
                    </select>
                    </div>
                </div>
                <div class="box-horizontal">
                	<label for="" >Cột 2</label>
                    <div class="input-box">
                    <input type="text" />
                    </div>
                </div>
                <div class="box-horizontal">
                	<label for="" >Cột 3</label>
                    <div class="input-box">
                    <input type="text" />
                    </div>
                </div>
                <div class="clearfix"></div>
            </div>
            -->
            <div class="button-box">
            	<button class="btn btn-success" type="submit" name="submit">Tìm kiếm</button>
            </div>
          </div>    
           <!--Bảng-->
            <div class="table-box">
                <table class="table table-bordered">
                    <tr>
                        <th>Mã</th>
                        <th>Tên</th>
                    </tr>
                    <tr>
                    	<td>1</td>
                        <td>Máy tính</td>
                    </tr>
                </table>
            </div>     
        </div>
       
   
    <div class="footer">
    </div>
</body>
</html>
